package com.lyj.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;


/**
 * Created by ldb on 2017/4/17.
 */
@RestController
public class IndexController {


    @RequestMapping("/")
    public ModelAndView goIndex(){
        return new ModelAndView("fragments/index");
    }

}
